home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
strstr.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
28 lines
STRSTR(3) UNIX Programmer's Manual STRSTR(3)
NNAAMMEE
ssttrrssttrr - locate a substring in a string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
ssttrrssttrr(_c_o_n_s_t _c_h_a_r _*_b_i_g, _c_o_n_s_t _c_h_a_r _*_l_i_t_t_l_e)
DDEESSCCRRIIPPTTIIOONN
The ssttrrssttrr() function locates the first occurrence of the null-terminated
string _l_i_t_t_l_e in the null-terminated string _b_i_g. If _l_i_t_t_l_e is the empty
string, ssttrrssttrr() returns _b_i_g; if _l_i_t_t_l_e occurs nowhere in _b_i_g, ssttrrssttrr()
returns NULL; otherwise ssttrrssttrr() returns a pointer to the first character
of the first occurrence of _l_i_t_t_l_e.
SSEEEE AALLSSOO
index(3), memchr(3), rindex(3), strchr(3), strcspn(3), strpbrk(3),
strrchr(3), strsep(3), strspn(3), strtok(3)
SSTTAANNDDAARRDDSS
The ssttrrssttrr() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 29, 1991 1